package org.yunshang.style.domain.vo;
import com.alibaba.excel.annotation.ExcelIgnore;
import org.yunshang.common.excel.annotation.ExcelDictFormat;
import org.yunshang.common.excel.convert.ExcelDictConvert;
import org.yunshang.style.domain.TStyle;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 款式管理视图对象 t_style
 *
 * @author Lion Li
 * @date 2024-03-30
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TStyle.class)
public class TStyleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelIgnore
    private Long id;

    /**
     * 款式
     */
    @ExcelProperty(value = "款式")
    private String name;

    /**
     * 类型（1=猪肠带, 2=无缝带, 0=其他）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=猪肠带,2=无缝带,0=其他")
    private String type;

    /**
     * 状态（0=启用，1=禁用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=启用,1=禁用")
    private String status;


}
